package lesson01;

public class MyThread extends Thread{
    @Override
    public void run() {
       while(true){
           try {
               Thread.sleep(1000);
           } catch (InterruptedException e) {
               throw new RuntimeException(e);
           }
           System.out.println("this is Thread ....");
       }
    }
}
